import request from "./../utils/request.js";

/**
 * 查询 地址列表
 */
export function queryAddressList(data) {
  return request.post('person.invoiceaddress.list', data, { noAuth : true });
}

/**
 * 查询 地址
 */
export function queryAddressinfo(id) {
  const data = {
    'id': id
  }
  return request.post('person.invoiceaddress.info', data, { noAuth : true });
}

/**
 * 添加 地址列表
 */
export function addAddress(data) {
  return request.post('person.invoiceaddress.save', data, { noAuth : true });
}


export function upAddress(data) {
  return request.post('person.invoiceaddress.update', data, { noAuth: true });
}